<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:s="http://jboss.org/schema/seam/taglib"
	xmlns:p="http://primefaces.org/ui"
	xmlns:pm="http://primefaces.org/mobile" contentType="text/html"
	renderKitId="PRIMEFACES_MOBILE">


	<pm:page title="mmrm">

		<f:facet name="postinit">
			<h:outputStylesheet library="primefaces-mobile" name="m.css" />
		</f:facet>


		<pm:view swatch="f">

			<pm:header title="登录" fixed="true" swatch="f" />

			<pm:content swatch="f">
				<h:form id="loginForm">

					<h:outputLabel for="username" value="用户名" />
					<p:inputText id="username" value="#{credentials.username}" />
					<h:outputLabel for="password" value="密码" />
					<p:password id="password" value="#{credentials.password}" />
					<h:outputLabel for="rememberMe" value="记住我" />
					<p:selectBooleanCheckbox id="rememberMe"
						style="margin-left: -17px; margin-top: 13px; margin-bottom:30px;"
						value="#{rememberMe.enabled}" />
					<p style="font-size: 10px">
						<i>注 - </i> 登录用的用户名'admin'，密码为空。
					</p>
					<p:separator />
					<p:commandButton id="submit" ajax="false" value="登录" process="@this" action="#{identity.login}" />

				</h:form>
			</pm:content>

		</pm:view>
	</pm:page>
</f:view>